#include "time_thread.h"

TimeThread::TimeThread(int msleep_time, QObject *parent): sleep_time(msleep_time), QThread(parent) {}

void TimeThread::run() {
    while (true) {
        msleep(sleep_time);
        emit threadTimeOut();
    }
}